package com.weipt;

/**
 * @author peter.wei 2020/08/31 16:15
 * @version 1.0
 * @company 终生学习
 * @description <br>peter.wei 2020/08/31 16:15 提供单例，同时支持new
 **/
public class Single1 {

    public static final Single1 SINGLE_1= new Single1();

    //使用类直接调用方法获取实例
    public static Single1 getSingle1(){
        return SINGLE_1;
    }

}